<!DOCTYPE html >
<html lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>频道管理</title>
    <meta charset="utf-8">
    <script src="http://static.qiyi.com/qui/0.8.0/js/qui.js"></script>
    <script charset="utf-8" type="text/javascript" src="js/qui_0.8.0/jquery.qui.suggest.js?v=2014122229711"></script>
    <link rel="stylesheet" href="http://static.qiyi.com/qui/0.8.0/css/themes/lego/theme.css">
    <link rel="stylesheet" href="./css/copyLego.css">
    <script type="text/javascript">
        document.write('<scri' + 'pt src="./js/record.js?v=1" charset="utf-8" type="text/javascript"></s' + 'cript>');
    </script>
</head>
<style type="text/css">
    .qui-tip .qui-tip-inner {z-index: 1999;min-width: 150px;text-align: center}
    .ui-jqgrid tr.jqgrow td {
        white-space: normal !important;
        word-wrap: break-word;
        height:auto;
        vertical-align:text-top;
        padding-top:2px;
    }
</style>
<body class="skin-lego">
<header class="main-header">

</header>
<div class="main-wrapper" >
    <div class="main-content" id="j-pjax-container">
        <div class="content-wrapper">
            <section class="content-header">
                <ol class="breadcrumb">
                    <li>视频采编</li>
                    <li class="active">频道列表</li>
                </ol>
            </section>
            <section class="content">
                <div class="container-fluid">
                    <div id="j-view-container">
                        <form class="form-inline grid-query-form" id="query-record-library-form" role="queryForm">
                            <div class="form-container">
                                <div class="container-fluid">

                                        <div class="col-xs-4">
                                            <div class="form-group query-group">
                                                <label class="control-label">频道名称</label>
                                                <input type="text" class="form-control" role="query-text"
                                                       name="LIKES_channelName">
                                            </div>
                                        </div>
                                        <div class="col-xs-4">
                                            <div class="form-group query-group">
                                                <label class="control-label">频道代码</label>
                                                <input type="text" class="form-control" role="query-text"
                                                       name="LIKES_channelCode">
                                            </div>
                                        </div>
                                        <div class="col-xs-2">
                                            <div class="form-group query-group">
                                                <button type="button" name="query_btn" class="btn">搜索</button>
                                                <button type="button" name="open_new_dlg_btn" class="btn">新建</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                        </form>
                        <form class="form-inline grid-query-form">
                            <div class="form-container">
                                <div class="container-fluid">
                                    <table id="list">
                                        <tr>
                                            <td></td>
                                        </tr>
                                    </table>
                                    <div id="pager"></div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </section>
        </div>
    </div>
</div>
<form class="form-horizontal" role="modifyForm"  style="display: none" >
    <input type="text" name="id" value="-1" style="display:none;" >
    <div class="form-container j-form-components" >
        <div class="container-fluid">
            <div class="form-group control-group" >
                <label class="col-xs-3 control-label">频道名称</label>
                <div class="col-xs-4 controls">
                    <input type="text" name="channelName"  class="form-control" style="width:250px;">
                </div>
            </div>

            <div class="form-group control-group" >
                <label class="col-xs-3 control-label">频道代码</label>
                <div class="col-xs-4 controls">
                    <input type="text" name="channelCode"  class="form-control" style="width:250px;">
                </div>
            </div>

            <div class="form-group control-group" >
                <label class="col-xs-3 control-label">是否有台标</label>
                <div class="col-xs-4 controls">
                    <label class="radio-inline">
                        <input type="radio" name="hasCaption" value="1"> 是 </label>
                    <label class="radio-inline">
                        <input type="radio" name="hasCaption" value="0"> 否 </label>
                </div>
            </div>

            <div class="form-group control-group" >
                <label class="col-xs-3 control-label"></label>
                <div class="col-xs-8 form-inline">
                    <button type="button" name="save_btn" class="btn">保存</button>
                    <button type="button" name="cancel_btn" class="btn">取消</button>
                </div>
            </div>
        </div>
    </div>
</form>
</body>
<script type="text/javascript">
    require(['record', 'qui/vendors/spark-md5/js/spark-md5'], function () {
        Ancestor.Auth.getAuthData({ url: "/epg/channel.html"}, function (rdata) {
            Record.Action.runChannelList();
        })
    })
</script>
</html>